package cn.ylz.ylmall.content.pojo.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.lang.reflect.Type;
import java.util.Date;

@Data
public class Comment {
    @TableId(type = IdType.AUTO)
    private Long id; //评论id
    private String comment; //评论内容
    private Long userId; //当前用户id
    private Long contentId; //评论文章或视频的id
    private Date createTime; //评论时间
    private Long pid; //父评论id
}
